package cn.zt.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 余额表

 * @TableName balance
 */
@TableName(value ="balance")
@Data
public class Balance implements Serializable {
    /**
     * 主键自增
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 余额数目 默认为0
     */
    private Integer balanceNum;
    @TableField(exist = false)
    //银行卡号
    private String bankCard;
    @TableField(exist = false)
    //转入的金额
    private Double num;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}